Get Comment
AutomatR.Jira.Activities.GetComment
The "Get Comment" activity in AutomatR's Jira package utilizes the Jira API to retrieve specific details about a comment associated with a particular issue. This activity is valuable for accessing and processing comment data within Jira for enhanced automation workflows.
Properties
Name | Description |
---|---|
Input | |
Ticket ID | Enter the Ticket ID of the Jira issue for which the comment needs to be fetched. String variables containing the Ticket ID. |
Comment ID | Enter the ID of the existing comment to be fetched. This is a required field and is used to identify the specific comment. String variables containing the Comment ID. |
Ticket Key | Enter the Ticket Key of the Jira issue for which the comment needs to be fetched. String variables containing the Ticket Key. |
Misc | |
Display Name | The display name of the activity. This field supports only strings or String variables. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Get Comment" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Result | Outputs an object containing details about the fetched comment. Variables of relevant types (e.g., dynamic variables) to store comment details. |
How to use:
- Drag and drop the "Get Comment" activity onto the workflow.
- Configure the properties by specifying the Ticket ID, Comment ID, or Ticket Key.
- Optionally, configure the delay.
- Execute the workflow to retrieve details about the specified comment within the Jira issue.
Example: Consider an example where the "Get Comment" activity is used to retrieve details about a specific comment within a Jira issue:
Get Comment:
Ticket ID: "JIRA-123"
Comment ID: "456"
Result: commentDetails
In this example, the activity fetches details about the comment with ID "456" associated with the Jira issue "JIRA-123". The result, which includes details about the comment, is stored in the dynamic variable "commentDetails" for further handling in the workflow.